<%= render :partial => "header" %>
<h2>帐户清单</h2>
<ul>
<% for user in @users %>
<li> <%= link_to user.name, :action => "show", :id => user %> </li>
<% end %>
</ul>

<%= link_to 'Previous page', { :page => @user_pages.current.previous } if @user_pages.current.previous %>
<%= link_to 'Next page', { :page => @user_pages.current.next } if @user_pages.current.next %> 

<br />

<%= link_to '新帐户', :action => 'new' %>
